export type CategoryCode = 'electronics' | 'mobile' | 'clothing' | 'shoes' | 'beauty' | 'jewelry' | 'sports' | 'auto'

export interface Product {
  id: number
  title: string
  image: string
  price: number
  originalPrice?: number
  rating: number
  reviews: number
  description: string
  category: CategoryCode
}

export interface Category {
  id: number
  name: string
  code: string
  icon?: string
}

export type SortType = 'popular' | 'newest' | 'priceAsc' | 'priceDesc' 